﻿<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
		<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
		<META HTTP-EQUIV="Expires" CONTENT="0">
		<title><s:text name="title" /></title>
	</head>
	<body>
		<p>
			<a href="../mainService/main.action"><s:text name="return" /> </a>
			<a href="../login/logOut.action"><s:text name="logOut" /> </a>
		</p>
		<s:actionerror />
		<s:fielderror />
		<p>
			<b><s:text name="userInfo" /> </b>
		</p>
			<table cellspacing="1" cellpadding="1" border="1">
				<tr>
					<td align="right">
						<s:text name="userName" />
					</td>
					<td align="left">
						<s:property value="user.userName" />
					</td>
				</tr>
				<tr>
					<td align="right">
						<s:text name="realName" />
					</td>
					<td>
						<s:property value="user.realName" />
					</td>
				</tr>
				<tr>
					<td align="right">
						<s:text name="idCard" />
					</td>
					<td>
						<s:property value="user.idCard" />
					</td>
				</tr>
				<tr>
					<td align="right">
						<s:text name="type" />
					</td>
					<td>
						<s:if test="#session.user.type==1">
							<s:text name="member" />
						</s:if> <s:elseif test="#session.user.type==2">
							<s:text name="manager" />
						</s:elseif> <s:elseif test="#session.user.type==3">
							<s:text name="administrator" />
						</s:elseif> 
					</td>
				</tr>
			</table>
	</body>
</html>
